CustomerGridCtl = Ext.extend(GridCtl, {

			getCmItems : function() {

				var items = [
						this.getCmItem('客户编号', 'id', true),
						this.getCmItem('状态', 'statusStr', true),
						this.getCmItem('公司名称', 'customername', true),
						this.getCmItem('电话', 'tel', true),
						this.getCmItem('传真', 'fax', true),
						this.getCmItem('地址', 'address', true),
						this.getCmItem('网站', 'website', true),
						this.getCmItem('二级部门', 'subdepartment', true),
						this.getCmItem('洲', 'continent', true),
						this.getCmItem('国家', 'country', true),
						this.getCmItem('城市', 'city', true),
						this.getCmItem('公司属性', 'comtype', true),
						this.getCmItem('姓名', 'contactorname', true),
						this.getCmItem('性别', 'contactgender', true),
						this.getCmItem('职务', 'contactorposition', true),
						this.getCmItem('电邮', 'contactoremail', true),
						this.getCmItem('电话', 'contacttel', true),
						this.getCmItem('手机', 'contactmobile', true),
						this.getCmItem('公司特点', 'comstyle', true),
						this.getCmItem('备注', 'remarks', true),
						this.getCmItem('status', 'status', false)
				]

				return items;
			},
			configBbarItems : function(config) {

				return config;

			},
			getStoreUrl : function() {

				var resource = 'customer.do';
				var server = cf.getC('s');
				var url = server.getUrl({
							resource : resource,
							act : 'r'
						});
				return url;
			},
			rowdblclick : function(gird, index) {
				var record = this.getRecord(index);
				this.loadByRecord(record);
			}

		});
